﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Calendarizacion_URL
{
    public partial class Principal : Form
    {
        FormAula fAula;
        FormCatedratico fCate;
        FormCurso fCurso;
        FormUsuario fUsuario;
        FormEdificio fEdif;
        FormLaboratorio fLab;
        FormCarrera fCarrera;
        FormPensum fPensum;
        FormCicloo fCiclo;
        FormEDP fEDP;
        public Principal()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {

        }

        private void Principal_Load(object sender, EventArgs e)
        {
            Login l = new Login(this);
            this.Enabled = false;
            l.Visible = true;
        }

        private void button3_Click(object sender, EventArgs e)
        {
            fUsuario = new FormUsuario(this);
            fUsuario.Visible = true;
            this.Enabled = false;
        }

        private void aulaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fAula = new FormAula(this,2);
            fAula.Visible = true;
            this.Enabled = false;
        }

        private void administraciónDeUsuariosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fUsuario = new FormUsuario(this);
            fUsuario.Visible = true;
            this.Enabled = false;
        }

        private void laboratorioToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fLab = new FormLaboratorio(this);
            fLab.Visible = true;
            this.Enabled = false;
        }
    }
}
